package client.domain;

import com.google.gwt.user.client.ui.Widget;

/**
 * User: nbarrios
 * Date: Nov 17, 2009
 */
public class Error extends Widget{

	//  Attributes
	private Integer errorID;
	private String errorMessage;


	// Constructor
	public Error(Integer errorID, String errorMessage) {
		this.errorID = errorID;
		this.errorMessage = errorMessage;
	}

	//  Getters & Setters
	public Integer getErrorID() {
		return errorID;
	}

	public void setErrorID(Integer errorID) {
		this.errorID = errorID;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

}//  End Class
